import { BasicFetchResult } from '@/api/model/baseModel'
import { CategroyModel } from './cateModel'
import { ProviderModel } from './providerModel'
import { StaffModel } from './staffModel'

/**
 * 服务商模型
 */
export interface CommentModel {
  comment_id: number
  rating: number
  content: string
  is_picture: false
  status: number
  sort: number
  user_id: number
  order_id: number
  goods_id: number
  order_goods_id: number
  provider_id: number
  create_time: string
  update_time: string
  images: string[]
  staff_id: number
  user: any
  staff: StaffModel
  provider: ProviderModel
}

export type CommentGetResultModel = BasicFetchResult<CommentModel>
